sortlistmodel: Redo the way we store the items
authorBenjamin Otte <otte@redhat.com>
Wed, 11 Dec 2019 00:11:59 +0000 (01:11 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:44 +0000 (19:26 -0400)
commit16ab64809387c89f74606930d12ca39b6a19fa67
tree741327b3290b843e73419a092f95f09abf3540e8
parent11a1f8f36a9136add6c4e765493009572c1203b3
sortlistmodel: Redo the way we store the items

We need to keep this data around for changes in future commits where we
make the sorting stable.

An important part of the new data handling is that the unsorted list
needs to always be dealt with before the sorted list - upon creation we
rely on the unsorted iter and upon destruction, the sorted sequence
frees the entry leaving the unsorted sequence pointer invalid.

This change does not do any behavioral changes.
gtk/gtksortlistmodel.c